//
//  CMQuestionCell.h
//  CreditManger
//
//  Created by sky on 15/11/9.
//  Copyright © 2015年 jinxin. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CMGetQuestionInfo.h"
#import "CMGetQuestionItemInfo.h"

//@protocol CMQuestionCellDeledate <NSObject>
//
//- (void)clickToSelect:(UIButton *)sender;
//
//@end

typedef enum{
    select_index_chosed = 0,
    select_index_answered,
    select_index_notchosed,
} select_index;

@interface CMQuestionCell : UITableViewCell

+(CGFloat)MakeHeightForCellWithShowCmQuestionItemInfo:(CMGetQuestionItemInfo *)allitem;


@property (nonatomic , assign) NSInteger tum;

@property (nonatomic , strong) CMGetQuestionInfo *iteminfo;

@property (nonatomic , strong) CMGetQuestionItemInfo *alliteminfo;

//@property (nonatomic,assign) id<CMQuestionCellDeledate>delegate;

@property (nonatomic , strong) void(^ActionPreviewClickToSelelct)(UIButton *btn);

@end